package net.hn.hnms.biz.plan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 生产成本计划执行信息
 *
 * @author ly
 * @since 1.0.0 2022-08-16
 */
@Data
@ApiModel("生产成本计划执行信息")
public class ExecutionCostVO extends BaseVO{

	/**
	* 主键ID
	*/
	@ApiModelProperty(value = "id")
	private String costExecutionId;

	/**
	 * 创建人ID
	 */
	@ApiModelProperty(value = "创建人ID",hidden=true)
	private String createUserId;

	/**
	* 矿编码
	*/
	@ApiModelProperty(value = "煤矿编号")
	private String mineCode;

	/**
	* 日期
	*/
	@ApiModelProperty(value = "日期")
	@JsonFormat(pattern = "yyyy-MM-dd",
            timezone = "GMT+8")
	private Date executionDate;

	/**
	* 材料消耗(万元)
	*/
	@ApiModelProperty(value = "材料消耗(万元)")
	private BigDecimal costMaterial;

	/**
	* 修旧利废(万元)
	*/
	@ApiModelProperty(value = "修旧利废(万元)")
	private BigDecimal costRecycle;

	/**
	* 生活/生产用水(万元)
	*/
	@ApiModelProperty(value = "生活/生产用水(万元)")
	private BigDecimal costWater;

	/**
	* 电费(万元)
	*/
	@ApiModelProperty(value = "电费(万元)")
	private BigDecimal costPower;

	public ExecutionCostVO() {

	}

	public ExecutionCostVO(BigDecimal cost) {
		this.costMaterial = cost;
		this.costRecycle = cost;
		this.costWater = cost;
		this.costPower = cost;
	}


	@ApiModelProperty(value = "煤矿名称")
	private String mineName;

	@ApiModelProperty(value = "总材料消耗(万元)")
	private BigDecimal totalCostMaterial;

	@ApiModelProperty(value = "总修旧利废(万元)")
	private BigDecimal totalCostRecycle;

	@ApiModelProperty(value = "总生活/生产用水(万元)")
	private BigDecimal totalCostWater;

	@ApiModelProperty(value = "电费(万元)")
	private BigDecimal totalCostPower;


	@ApiModelProperty(value = "公司名称")
	private String companyName;

	@ApiModelProperty(value = "公司编码")
	private String companyCode;

}